﻿#include "Window.h"


INT APIENTRY wWinMain(
    _In_ HINSTANCE,
    _In_opt_ HINSTANCE,
    _In_ LPWSTR,
    _In_ INT)
{
	Window window1(800, 400, "天天向上1");

	MSG msg{ 0 };
	// 5.获取消息
	while (GetMessage(&msg, NULL, 0U, 0U)) {
		TranslateMessage(&msg);//将虚拟密钥消息转换为字符消息
		DispatchMessage(&msg);//分发消息给窗口‌
	}

    return 0;
}
